package io.renren.modules.lucky.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.lucky.entity.AppGoodsCommentEntity;

import java.util.List;
import java.util.Map;

/**
 * app端-商品-评论信息表
 *
 * @author chenshun
 * @email chenchen@ashacker.com
 * @date 2019-08-31 20:58:38
 */
public interface AppGoodsCommentService extends IService<AppGoodsCommentEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<AppGoodsCommentEntity> queryPageForApp(String curPage, String pageSize);

    /**
     * 增加评论信息
     * @param commentEntity
     * @return
     */
    Map<String, Object> addComment(AppGoodsCommentEntity commentEntity);

    /**
     * 增加估价信息
     * @param commentEntity
     * @return
     */
    int addPrice(AppGoodsCommentEntity commentEntity);

}

